# -*- coding: utf-8 -*-
"""
@Time ： 2021/2/1 11:44
@Auth ： Mr. JJ_Cloud
@Company ：testingedu.com.cn
@Function ：接口查询天气
"""

import requests,json

url = 'http://www.tuling123.com/openapi/api'
params = {"key":"ec961279f453459b9248f0aeb6600bbe","info":"上海天气"}
res = requests.get(url=url,params=params)
print(res.text)